package com.tv.cms.utils;

/**
 * TODO
 *
 * @author
 * @date
 **/
public enum ResultCode {
    SUCCESS(200, "OK"),
    FAILURE(500, "Internal Server Error");

    private final int code;
    private final String msg;

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
